package com.crm.model.entity.orderManager;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CustomerProductOrderDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerProductOrderDetailExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andProductOrderDetailIdIsNull() {
            addCriterion("product_order_detail_id is null");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdIsNotNull() {
            addCriterion("product_order_detail_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdEqualTo(String value) {
            addCriterion("product_order_detail_id =", value, "productOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdNotEqualTo(String value) {
            addCriterion("product_order_detail_id <>", value, "productOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdGreaterThan(String value) {
            addCriterion("product_order_detail_id >", value, "productOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdGreaterThanOrEqualTo(String value) {
            addCriterion("product_order_detail_id >=", value, "productOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdLessThan(String value) {
            addCriterion("product_order_detail_id <", value, "productOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdLessThanOrEqualTo(String value) {
            addCriterion("product_order_detail_id <=", value, "productOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdLike(String value) {
            addCriterion("product_order_detail_id like", value, "productOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdNotLike(String value) {
            addCriterion("product_order_detail_id not like", value, "productOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdIn(List<String> values) {
            addCriterion("product_order_detail_id in", values, "productOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdNotIn(List<String> values) {
            addCriterion("product_order_detail_id not in", values, "productOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdBetween(String value1, String value2) {
            addCriterion("product_order_detail_id between", value1, value2, "productOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailIdNotBetween(String value1, String value2) {
            addCriterion("product_order_detail_id not between", value1, value2, "productOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameIsNull() {
            addCriterion("order_detail_name is null");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameIsNotNull() {
            addCriterion("order_detail_name is not null");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameEqualTo(String value) {
            addCriterion("order_detail_name =", value, "orderDetailName");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameNotEqualTo(String value) {
            addCriterion("order_detail_name <>", value, "orderDetailName");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameGreaterThan(String value) {
            addCriterion("order_detail_name >", value, "orderDetailName");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameGreaterThanOrEqualTo(String value) {
            addCriterion("order_detail_name >=", value, "orderDetailName");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameLessThan(String value) {
            addCriterion("order_detail_name <", value, "orderDetailName");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameLessThanOrEqualTo(String value) {
            addCriterion("order_detail_name <=", value, "orderDetailName");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameLike(String value) {
            addCriterion("order_detail_name like", value, "orderDetailName");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameNotLike(String value) {
            addCriterion("order_detail_name not like", value, "orderDetailName");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameIn(List<String> values) {
            addCriterion("order_detail_name in", values, "orderDetailName");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameNotIn(List<String> values) {
            addCriterion("order_detail_name not in", values, "orderDetailName");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameBetween(String value1, String value2) {
            addCriterion("order_detail_name between", value1, value2, "orderDetailName");
            return (Criteria) this;
        }

        public Criteria andOrderDetailNameNotBetween(String value1, String value2) {
            addCriterion("order_detail_name not between", value1, value2, "orderDetailName");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNull() {
            addCriterion("product_code is null");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNotNull() {
            addCriterion("product_code is not null");
            return (Criteria) this;
        }

        public Criteria andProductCodeEqualTo(String value) {
            addCriterion("product_code =", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotEqualTo(String value) {
            addCriterion("product_code <>", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThan(String value) {
            addCriterion("product_code >", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThanOrEqualTo(String value) {
            addCriterion("product_code >=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThan(String value) {
            addCriterion("product_code <", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThanOrEqualTo(String value) {
            addCriterion("product_code <=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLike(String value) {
            addCriterion("product_code like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotLike(String value) {
            addCriterion("product_code not like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeIn(List<String> values) {
            addCriterion("product_code in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotIn(List<String> values) {
            addCriterion("product_code not in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeBetween(String value1, String value2) {
            addCriterion("product_code between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotBetween(String value1, String value2) {
            addCriterion("product_code not between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesIsNull() {
            addCriterion("product_categories is null");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesIsNotNull() {
            addCriterion("product_categories is not null");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesEqualTo(String value) {
            addCriterion("product_categories =", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesNotEqualTo(String value) {
            addCriterion("product_categories <>", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesGreaterThan(String value) {
            addCriterion("product_categories >", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesGreaterThanOrEqualTo(String value) {
            addCriterion("product_categories >=", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesLessThan(String value) {
            addCriterion("product_categories <", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesLessThanOrEqualTo(String value) {
            addCriterion("product_categories <=", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesLike(String value) {
            addCriterion("product_categories like", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesNotLike(String value) {
            addCriterion("product_categories not like", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesIn(List<String> values) {
            addCriterion("product_categories in", values, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesNotIn(List<String> values) {
            addCriterion("product_categories not in", values, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesBetween(String value1, String value2) {
            addCriterion("product_categories between", value1, value2, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesNotBetween(String value1, String value2) {
            addCriterion("product_categories not between", value1, value2, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductOriginalPriceIsNull() {
            addCriterion("product_original_price is null");
            return (Criteria) this;
        }

        public Criteria andProductOriginalPriceIsNotNull() {
            addCriterion("product_original_price is not null");
            return (Criteria) this;
        }

        public Criteria andProductOriginalPriceEqualTo(BigDecimal value) {
            addCriterion("product_original_price =", value, "productOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andProductOriginalPriceNotEqualTo(BigDecimal value) {
            addCriterion("product_original_price <>", value, "productOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andProductOriginalPriceGreaterThan(BigDecimal value) {
            addCriterion("product_original_price >", value, "productOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andProductOriginalPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("product_original_price >=", value, "productOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andProductOriginalPriceLessThan(BigDecimal value) {
            addCriterion("product_original_price <", value, "productOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andProductOriginalPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("product_original_price <=", value, "productOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andProductOriginalPriceIn(List<BigDecimal> values) {
            addCriterion("product_original_price in", values, "productOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andProductOriginalPriceNotIn(List<BigDecimal> values) {
            addCriterion("product_original_price not in", values, "productOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andProductOriginalPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_original_price between", value1, value2, "productOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andProductOriginalPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_original_price not between", value1, value2, "productOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andProductUnitPriceIsNull() {
            addCriterion("product_unit_price is null");
            return (Criteria) this;
        }

        public Criteria andProductUnitPriceIsNotNull() {
            addCriterion("product_unit_price is not null");
            return (Criteria) this;
        }

        public Criteria andProductUnitPriceEqualTo(BigDecimal value) {
            addCriterion("product_unit_price =", value, "productUnitPrice");
            return (Criteria) this;
        }

        public Criteria andProductUnitPriceNotEqualTo(BigDecimal value) {
            addCriterion("product_unit_price <>", value, "productUnitPrice");
            return (Criteria) this;
        }

        public Criteria andProductUnitPriceGreaterThan(BigDecimal value) {
            addCriterion("product_unit_price >", value, "productUnitPrice");
            return (Criteria) this;
        }

        public Criteria andProductUnitPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("product_unit_price >=", value, "productUnitPrice");
            return (Criteria) this;
        }

        public Criteria andProductUnitPriceLessThan(BigDecimal value) {
            addCriterion("product_unit_price <", value, "productUnitPrice");
            return (Criteria) this;
        }

        public Criteria andProductUnitPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("product_unit_price <=", value, "productUnitPrice");
            return (Criteria) this;
        }

        public Criteria andProductUnitPriceIn(List<BigDecimal> values) {
            addCriterion("product_unit_price in", values, "productUnitPrice");
            return (Criteria) this;
        }

        public Criteria andProductUnitPriceNotIn(List<BigDecimal> values) {
            addCriterion("product_unit_price not in", values, "productUnitPrice");
            return (Criteria) this;
        }

        public Criteria andProductUnitPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_unit_price between", value1, value2, "productUnitPrice");
            return (Criteria) this;
        }

        public Criteria andProductUnitPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_unit_price not between", value1, value2, "productUnitPrice");
            return (Criteria) this;
        }

        public Criteria andProductMemberPriceIsNull() {
            addCriterion("product_member_price is null");
            return (Criteria) this;
        }

        public Criteria andProductMemberPriceIsNotNull() {
            addCriterion("product_member_price is not null");
            return (Criteria) this;
        }

        public Criteria andProductMemberPriceEqualTo(BigDecimal value) {
            addCriterion("product_member_price =", value, "productMemberPrice");
            return (Criteria) this;
        }

        public Criteria andProductMemberPriceNotEqualTo(BigDecimal value) {
            addCriterion("product_member_price <>", value, "productMemberPrice");
            return (Criteria) this;
        }

        public Criteria andProductMemberPriceGreaterThan(BigDecimal value) {
            addCriterion("product_member_price >", value, "productMemberPrice");
            return (Criteria) this;
        }

        public Criteria andProductMemberPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("product_member_price >=", value, "productMemberPrice");
            return (Criteria) this;
        }

        public Criteria andProductMemberPriceLessThan(BigDecimal value) {
            addCriterion("product_member_price <", value, "productMemberPrice");
            return (Criteria) this;
        }

        public Criteria andProductMemberPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("product_member_price <=", value, "productMemberPrice");
            return (Criteria) this;
        }

        public Criteria andProductMemberPriceIn(List<BigDecimal> values) {
            addCriterion("product_member_price in", values, "productMemberPrice");
            return (Criteria) this;
        }

        public Criteria andProductMemberPriceNotIn(List<BigDecimal> values) {
            addCriterion("product_member_price not in", values, "productMemberPrice");
            return (Criteria) this;
        }

        public Criteria andProductMemberPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_member_price between", value1, value2, "productMemberPrice");
            return (Criteria) this;
        }

        public Criteria andProductMemberPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_member_price not between", value1, value2, "productMemberPrice");
            return (Criteria) this;
        }

        public Criteria andProductPreferentialPriceIsNull() {
            addCriterion("product_preferential_price is null");
            return (Criteria) this;
        }

        public Criteria andProductPreferentialPriceIsNotNull() {
            addCriterion("product_preferential_price is not null");
            return (Criteria) this;
        }

        public Criteria andProductPreferentialPriceEqualTo(BigDecimal value) {
            addCriterion("product_preferential_price =", value, "productPreferentialPrice");
            return (Criteria) this;
        }

        public Criteria andProductPreferentialPriceNotEqualTo(BigDecimal value) {
            addCriterion("product_preferential_price <>", value, "productPreferentialPrice");
            return (Criteria) this;
        }

        public Criteria andProductPreferentialPriceGreaterThan(BigDecimal value) {
            addCriterion("product_preferential_price >", value, "productPreferentialPrice");
            return (Criteria) this;
        }

        public Criteria andProductPreferentialPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("product_preferential_price >=", value, "productPreferentialPrice");
            return (Criteria) this;
        }

        public Criteria andProductPreferentialPriceLessThan(BigDecimal value) {
            addCriterion("product_preferential_price <", value, "productPreferentialPrice");
            return (Criteria) this;
        }

        public Criteria andProductPreferentialPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("product_preferential_price <=", value, "productPreferentialPrice");
            return (Criteria) this;
        }

        public Criteria andProductPreferentialPriceIn(List<BigDecimal> values) {
            addCriterion("product_preferential_price in", values, "productPreferentialPrice");
            return (Criteria) this;
        }

        public Criteria andProductPreferentialPriceNotIn(List<BigDecimal> values) {
            addCriterion("product_preferential_price not in", values, "productPreferentialPrice");
            return (Criteria) this;
        }

        public Criteria andProductPreferentialPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_preferential_price between", value1, value2, "productPreferentialPrice");
            return (Criteria) this;
        }

        public Criteria andProductPreferentialPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_preferential_price not between", value1, value2, "productPreferentialPrice");
            return (Criteria) this;
        }

        public Criteria andProductFinalPriceIsNull() {
            addCriterion("product_final_price is null");
            return (Criteria) this;
        }

        public Criteria andProductFinalPriceIsNotNull() {
            addCriterion("product_final_price is not null");
            return (Criteria) this;
        }

        public Criteria andProductFinalPriceEqualTo(BigDecimal value) {
            addCriterion("product_final_price =", value, "productFinalPrice");
            return (Criteria) this;
        }

        public Criteria andProductFinalPriceNotEqualTo(BigDecimal value) {
            addCriterion("product_final_price <>", value, "productFinalPrice");
            return (Criteria) this;
        }

        public Criteria andProductFinalPriceGreaterThan(BigDecimal value) {
            addCriterion("product_final_price >", value, "productFinalPrice");
            return (Criteria) this;
        }

        public Criteria andProductFinalPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("product_final_price >=", value, "productFinalPrice");
            return (Criteria) this;
        }

        public Criteria andProductFinalPriceLessThan(BigDecimal value) {
            addCriterion("product_final_price <", value, "productFinalPrice");
            return (Criteria) this;
        }

        public Criteria andProductFinalPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("product_final_price <=", value, "productFinalPrice");
            return (Criteria) this;
        }

        public Criteria andProductFinalPriceIn(List<BigDecimal> values) {
            addCriterion("product_final_price in", values, "productFinalPrice");
            return (Criteria) this;
        }

        public Criteria andProductFinalPriceNotIn(List<BigDecimal> values) {
            addCriterion("product_final_price not in", values, "productFinalPrice");
            return (Criteria) this;
        }

        public Criteria andProductFinalPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_final_price between", value1, value2, "productFinalPrice");
            return (Criteria) this;
        }

        public Criteria andProductFinalPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_final_price not between", value1, value2, "productFinalPrice");
            return (Criteria) this;
        }

        public Criteria andProductQuantityIsNull() {
            addCriterion("product_quantity is null");
            return (Criteria) this;
        }

        public Criteria andProductQuantityIsNotNull() {
            addCriterion("product_quantity is not null");
            return (Criteria) this;
        }

        public Criteria andProductQuantityEqualTo(Integer value) {
            addCriterion("product_quantity =", value, "productQuantity");
            return (Criteria) this;
        }

        public Criteria andProductQuantityNotEqualTo(Integer value) {
            addCriterion("product_quantity <>", value, "productQuantity");
            return (Criteria) this;
        }

        public Criteria andProductQuantityGreaterThan(Integer value) {
            addCriterion("product_quantity >", value, "productQuantity");
            return (Criteria) this;
        }

        public Criteria andProductQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("product_quantity >=", value, "productQuantity");
            return (Criteria) this;
        }

        public Criteria andProductQuantityLessThan(Integer value) {
            addCriterion("product_quantity <", value, "productQuantity");
            return (Criteria) this;
        }

        public Criteria andProductQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("product_quantity <=", value, "productQuantity");
            return (Criteria) this;
        }

        public Criteria andProductQuantityIn(List<Integer> values) {
            addCriterion("product_quantity in", values, "productQuantity");
            return (Criteria) this;
        }

        public Criteria andProductQuantityNotIn(List<Integer> values) {
            addCriterion("product_quantity not in", values, "productQuantity");
            return (Criteria) this;
        }

        public Criteria andProductQuantityBetween(Integer value1, Integer value2) {
            addCriterion("product_quantity between", value1, value2, "productQuantity");
            return (Criteria) this;
        }

        public Criteria andProductQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("product_quantity not between", value1, value2, "productQuantity");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeIsNull() {
            addCriterion("product_order_detail_type is null");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeIsNotNull() {
            addCriterion("product_order_detail_type is not null");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeEqualTo(String value) {
            addCriterion("product_order_detail_type =", value, "productOrderDetailType");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeNotEqualTo(String value) {
            addCriterion("product_order_detail_type <>", value, "productOrderDetailType");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeGreaterThan(String value) {
            addCriterion("product_order_detail_type >", value, "productOrderDetailType");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeGreaterThanOrEqualTo(String value) {
            addCriterion("product_order_detail_type >=", value, "productOrderDetailType");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeLessThan(String value) {
            addCriterion("product_order_detail_type <", value, "productOrderDetailType");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeLessThanOrEqualTo(String value) {
            addCriterion("product_order_detail_type <=", value, "productOrderDetailType");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeLike(String value) {
            addCriterion("product_order_detail_type like", value, "productOrderDetailType");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeNotLike(String value) {
            addCriterion("product_order_detail_type not like", value, "productOrderDetailType");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeIn(List<String> values) {
            addCriterion("product_order_detail_type in", values, "productOrderDetailType");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeNotIn(List<String> values) {
            addCriterion("product_order_detail_type not in", values, "productOrderDetailType");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeBetween(String value1, String value2) {
            addCriterion("product_order_detail_type between", value1, value2, "productOrderDetailType");
            return (Criteria) this;
        }

        public Criteria andProductOrderDetailTypeNotBetween(String value1, String value2) {
            addCriterion("product_order_detail_type not between", value1, value2, "productOrderDetailType");
            return (Criteria) this;
        }

        public Criteria andProductStatusIsNull() {
            addCriterion("product_status is null");
            return (Criteria) this;
        }

        public Criteria andProductStatusIsNotNull() {
            addCriterion("product_status is not null");
            return (Criteria) this;
        }

        public Criteria andProductStatusEqualTo(String value) {
            addCriterion("product_status =", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusNotEqualTo(String value) {
            addCriterion("product_status <>", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusGreaterThan(String value) {
            addCriterion("product_status >", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusGreaterThanOrEqualTo(String value) {
            addCriterion("product_status >=", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusLessThan(String value) {
            addCriterion("product_status <", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusLessThanOrEqualTo(String value) {
            addCriterion("product_status <=", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusLike(String value) {
            addCriterion("product_status like", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusNotLike(String value) {
            addCriterion("product_status not like", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusIn(List<String> values) {
            addCriterion("product_status in", values, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusNotIn(List<String> values) {
            addCriterion("product_status not in", values, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusBetween(String value1, String value2) {
            addCriterion("product_status between", value1, value2, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusNotBetween(String value1, String value2) {
            addCriterion("product_status not between", value1, value2, "productStatus");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNull() {
            addCriterion("create_people_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNotNull() {
            addCriterion("create_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdEqualTo(String value) {
            addCriterion("create_people_id =", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotEqualTo(String value) {
            addCriterion("create_people_id <>", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThan(String value) {
            addCriterion("create_people_id >", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_people_id >=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThan(String value) {
            addCriterion("create_people_id <", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("create_people_id <=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLike(String value) {
            addCriterion("create_people_id like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotLike(String value) {
            addCriterion("create_people_id not like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIn(List<String> values) {
            addCriterion("create_people_id in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotIn(List<String> values) {
            addCriterion("create_people_id not in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdBetween(String value1, String value2) {
            addCriterion("create_people_id between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("create_people_id not between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNull() {
            addCriterion("update_people_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNotNull() {
            addCriterion("update_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdEqualTo(String value) {
            addCriterion("update_people_id =", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotEqualTo(String value) {
            addCriterion("update_people_id <>", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThan(String value) {
            addCriterion("update_people_id >", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_people_id >=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThan(String value) {
            addCriterion("update_people_id <", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("update_people_id <=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLike(String value) {
            addCriterion("update_people_id like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotLike(String value) {
            addCriterion("update_people_id not like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIn(List<String> values) {
            addCriterion("update_people_id in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotIn(List<String> values) {
            addCriterion("update_people_id not in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdBetween(String value1, String value2) {
            addCriterion("update_people_id between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("update_people_id not between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdIsNull() {
            addCriterion("order_relation_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdIsNotNull() {
            addCriterion("order_relation_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdEqualTo(String value) {
            addCriterion("order_relation_id =", value, "orderRelationId");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdNotEqualTo(String value) {
            addCriterion("order_relation_id <>", value, "orderRelationId");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdGreaterThan(String value) {
            addCriterion("order_relation_id >", value, "orderRelationId");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_relation_id >=", value, "orderRelationId");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdLessThan(String value) {
            addCriterion("order_relation_id <", value, "orderRelationId");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdLessThanOrEqualTo(String value) {
            addCriterion("order_relation_id <=", value, "orderRelationId");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdLike(String value) {
            addCriterion("order_relation_id like", value, "orderRelationId");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdNotLike(String value) {
            addCriterion("order_relation_id not like", value, "orderRelationId");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdIn(List<String> values) {
            addCriterion("order_relation_id in", values, "orderRelationId");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdNotIn(List<String> values) {
            addCriterion("order_relation_id not in", values, "orderRelationId");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdBetween(String value1, String value2) {
            addCriterion("order_relation_id between", value1, value2, "orderRelationId");
            return (Criteria) this;
        }

        public Criteria andOrderRelationIdNotBetween(String value1, String value2) {
            addCriterion("order_relation_id not between", value1, value2, "orderRelationId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdIsNull() {
            addCriterion("product_order_id is null");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdIsNotNull() {
            addCriterion("product_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdEqualTo(String value) {
            addCriterion("product_order_id =", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdNotEqualTo(String value) {
            addCriterion("product_order_id <>", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdGreaterThan(String value) {
            addCriterion("product_order_id >", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("product_order_id >=", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdLessThan(String value) {
            addCriterion("product_order_id <", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdLessThanOrEqualTo(String value) {
            addCriterion("product_order_id <=", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdLike(String value) {
            addCriterion("product_order_id like", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdNotLike(String value) {
            addCriterion("product_order_id not like", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdIn(List<String> values) {
            addCriterion("product_order_id in", values, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdNotIn(List<String> values) {
            addCriterion("product_order_id not in", values, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdBetween(String value1, String value2) {
            addCriterion("product_order_id between", value1, value2, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdNotBetween(String value1, String value2) {
            addCriterion("product_order_id not between", value1, value2, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceIsNull() {
            addCriterion("batch_update_price is null");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceIsNotNull() {
            addCriterion("batch_update_price is not null");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceEqualTo(String value) {
            addCriterion("batch_update_price =", value, "batchUpdatePrice");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceNotEqualTo(String value) {
            addCriterion("batch_update_price <>", value, "batchUpdatePrice");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceGreaterThan(String value) {
            addCriterion("batch_update_price >", value, "batchUpdatePrice");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceGreaterThanOrEqualTo(String value) {
            addCriterion("batch_update_price >=", value, "batchUpdatePrice");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceLessThan(String value) {
            addCriterion("batch_update_price <", value, "batchUpdatePrice");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceLessThanOrEqualTo(String value) {
            addCriterion("batch_update_price <=", value, "batchUpdatePrice");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceLike(String value) {
            addCriterion("batch_update_price like", value, "batchUpdatePrice");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceNotLike(String value) {
            addCriterion("batch_update_price not like", value, "batchUpdatePrice");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceIn(List<String> values) {
            addCriterion("batch_update_price in", values, "batchUpdatePrice");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceNotIn(List<String> values) {
            addCriterion("batch_update_price not in", values, "batchUpdatePrice");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceBetween(String value1, String value2) {
            addCriterion("batch_update_price between", value1, value2, "batchUpdatePrice");
            return (Criteria) this;
        }

        public Criteria andBatchUpdatePriceNotBetween(String value1, String value2) {
            addCriterion("batch_update_price not between", value1, value2, "batchUpdatePrice");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Short value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Short value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Short value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Short value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Short value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Short> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Short> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Short value1, Short value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Short value1, Short value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}